package cn.superchart.module.dev.template.service;

import cn.superchart.common.base.BaseService;
import cn.superchart.module.dev.template.entity.ScTemp;
import cn.superchart.module.dev.template.param.*;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

public interface ScTempService extends BaseService {

    Page<ScTemp> page(ScTempPageParam ScTempPageParam);
    void add(ScTempAddParam ScTempAddParam);

    void edit(ScTempEditParam ScTempEditParam);
    void delete(List<ScTempIdParam> ScTempIdParamList);
    ScTemp detail(ScTempIdParam ScTempIdParam);

    ScTemp queryEntity(String id);

    void setContent(ScTempContentParam ScTempContentParam);

    String previewContent(ScTempContentParam scTempContentParam);

    String getContent(String id);

    ScTempDetailParam info(ScTempIdParam scTempIdParam);

}
